import request from '@/utils/request'

// 军功章列表
export function jgzList(data) {
  return request({
    url: '/member/jgz_list',
    method: 'get',
    params: data
  })
}
// 军功章发放
export function jgzSend(data) {
  return request({
    url: '/member/jgz_send',
    method: 'post',
    params: data
  })
}

export function getList(data) {
  return request({
    url: '/member/list',
    method: 'get',
    params: data
  })
}

export function handle(data) {
  return request({
    url: '/member/handle',
    method: 'post',
    data: data
  })
}

export function getTree(data) {
  return request({
    url: '/member/tree',
    method: 'get',
    params: data
  })
}

// 月度合伙人列表
export function temaMonthList(data) {
  return request({
    url: '/member/team_month_list',
    method: 'get',
    params: data
  })
}
// 月度合伙人奖金发放
export function temaMonthSend(data) {
  return request({
    url: '/member/team_month_send',
    method: 'post',
    params: data
  })
}
// 店铺总金额
export function goldSum(data) {
  return request({
    url: '/member/gold_sum',
    method: 'get',
    params: data
  })
}
// 扣减公司余额
export function deductHandle(data) {
  return request({
    url: '/member/deduct',
    method: 'post',
    params: data
  })
}
// 每日金额
export function dailyAmount(data) {
  return request({
    url: '/member/daily_amount',
    method: 'post',
    params: data
  })
}
// 剩余金额转入教育基金数据
export function transferList(data) {
  return request({
    url: '/member/transfer_list',
    method: 'get',
    params: data
  })
}
// 剩余金额转入教育基金
export function transferHandle(data) {
  return request({
    url: '/member/transfer',
    method: 'post',
    params: data
  })
}
// 富力惠列表
export function flhList(data) {
  return request({
    url: '/member/flh_list',
    method: 'get',
    params: data
  })
}
// 富力惠发放
export function flhSend(data) {
  return request({
    url: '/member/flh_send',
    method: 'post',
    params: data
  })
}
//报单指数列表
export function bdMemList(data) {
  return request({
    url: '/member/bdmem_list',
    method: 'get',
    params: data
  })
}
//报单指数发放
export function bdMemSend(data) {
  return request({
    url: '/member/bdmem_send',
    method: 'post',
    params: data
  })
}
//分虹列表
export function bdOrderList(data) {
  return request({
    url: '/member/bdorder_list',
    method: 'get',
    params: data
  })
}
//分虹发放
export function bdOrderSend(data) {
  return request({
    url: '/member/bdorder_send',
    method: 'post',
    params: data
  })
}
//获取用户导入url
export function getImportUrl(data) {
  return request({
    url: '/member/getimporturl',
    method: 'post',
    params: data
  })
}